package com.wuzf.mall.net

import retrofit2.Call
import retrofit2.http.*
import java.util.*

interface RestService {

    @GET
    fun get(@Url url: String, @QueryMap params: WeakHashMap<String, Any>?): Call<String>

    @POST
    @FormUrlEncoded
    fun post(@Url url: String, @QueryMap params: WeakHashMap<String, Any>?): Call<String>
}